execute as @e[type=item_frame,nbt={Tags:["wire"]}] at @s run data modify entity @s Item set value {id:"arrow",Count:1b,tag:{CustomModelData:13100008}}
execute as @e[type=item_frame,nbt={Tags:["wire"]},tag=hasPower] at @s run data modify entity @s Item set value {id:"spectral_arrow",Count:1b,tag:{CustomModelData:13100009}}
execute as @e[type=item_frame,nbt={Tags:["wire_spread"]}] at @s run data modify entity @s Item set value {id:"structure_void",Count:1b}
execute as @e[type=item_frame,nbt={Tags:["wire_spread"]},tag=hasPower] at @s run data modify entity @s Item set value {id:"barrier",Count:1b}


execute as @e[type=item_frame,nbt={Tags:["wire_spread"],ItemRotation:0b}] run data modify entity @s ItemRotation set value 1b 
execute as @e[type=item_frame,nbt={Tags:["wire_spread"],ItemRotation:3b}] run data modify entity @s ItemRotation set value 1b

execute as @e[type=item_frame,nbt={Tags:["electricity_route_finder"]}] run data modify entity @s Item set value {id:"blue_terracotta",Count:1b}

execute as @e[type=item_frame,nbt={Tags:["wire"]}] at @s unless block ~ ~-1 ~ chest unless block ~ ~-1 ~ dropper unless block ~ ~-1 ~ cyan_glazed_terracotta unless block ~ ~-1 ~ blue_terracotta run kill @s


